﻿
namespace WebUI.Models
{
    public class WebComponent
    {
        public string getBannerMain(string displaylink, string displayimg, string displaytext1, string displaytext2, string displaytext3)
        {
            string result = "";
            result = result + "<div class=\"item\"><div class=\"inner\">";
            result = result + "<a href=\"" + displaylink + "\"><img src=\"" + displayimg + "\" alt=\"\" style=\"width:980px; height:445px; border:0;\" /></a>";
            result = result + "<div class=\"text1\"><span style=\"color:#000;\">" + displaytext1 + "<br/>" + displaytext2 + "</span></div>";
            result = result + "<div class=\"text2\"><span style=\"color:#000;\">" + displaytext3 + "</span></div>";
            result = result + "<div class=\"buttonview\"><a href=\"" + displaylink + "\" style=\"color:White;\">VIEW »</a></div>";
            result = result + "</div></div>";
            return result;
        }

        public string getBannerCollection(string displaylink, string displayimg, string displayname)
        {
            string result = "";
            result = result + "<div class=\"leftImg\">";
            result = result + "<a href=\"" + displaylink + "\" title=\"" + displayname + "\"><img src=\"" + displayimg + "\" style=\"width:192px; height:385px; border:0;\" alt=\"\" /></a>";
            result = result + "<div class=\"leftIcon\"><a href=\"" + displaylink + "\" style=\"color:White;\">VIEW »</a></div>";
            result = result + "</div>";
            return result;
        }

        public string getBannerLookbook(string displayshow, string displaylink, string displayimg, string displayname)
        {
            string result = "";
            result = result + "<div class=\"rightlookbook" + displayshow +"\">";
            result = result + "<a href=\"" + displaylink + "\"><img src=\"" + displayimg + "\" alt=\"\" style=\"width:253px; height:123px; border:0;\" /></a>";
            result = result + "<div class=\"rightIcon\"><a href=\"" + displaylink + "\" style=\"color:White;\">Look Book »</a></div>";
            result = result + "</div>";
            return result;
        }
    }
}